package com.bdqn.service;

import com.bdqn.util.RandomUtil;
import org.springframework.stereotype.Service;

/**
 * OrderServiceImpl
 *
 * @author LILIBO
 * @since 2023-03-11
 */
@Service
public class OrderServiceImpl implements OrderService {

    /**
     * 生成订单号
     *
     * @return
     */
    @Override
    public String genOrderId() {
        return RandomUtil.generateRandom(32, RandomUtil.CHAR_NUMBER);
    }

}
